import axios from './index'
export const getUserInfo = ({ userName }) => { // es6 的解构赋值
  return axios.request({
    url: '/getUserInfo',
    methods: 'post',
    data: {
      userName
    }
  })
}
